package com.example.analysis.mapper;

import com.example.analysis.entity.Supervision;
import com.example.analysis.entity.SupervisionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupervisionDao {
    long countByExample(SupervisionExample example);

    int deleteByExample(SupervisionExample example);

    int deleteByPrimaryKey(String supervisionId);

    int insert(Supervision record);

    int insertSelective(Supervision record);

    List<Supervision> selectByExample(SupervisionExample example);

    Supervision selectByPrimaryKey(String supervisionId);

    int updateByExampleSelective(@Param("record") Supervision record, @Param("example") SupervisionExample example);

    int updateByExample(@Param("record") Supervision record, @Param("example") SupervisionExample example);

    int updateByPrimaryKeySelective(Supervision record);

    int updateByPrimaryKey(Supervision record);
}